<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Function</title>
</head>
    <script type="text/javascript">
        function is_string(input) {
            if (typeof (input) == "string"){
                return true;
            } else
                return false;
        }
        console.log(is_string("JavaScrip String"))
        
        function is_Blank(input) {
            if (input.length == 0){
                return true;
            }else
                return false;
        }
        
        function string_to_array(str) {
             var arr =new Array();
             arr = str.split(" ");

             document.write(arr);
        }
    string_to_array("Robin string 123")
    </script>
<body>

</body>
</html>